package com.ruoyi.active.domain;

import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 商户管理对象 cf_shop
 * 
 * @author zhangbiao
 * @date 2024-06-04
 */
public class CfShop extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键(自增) */
    private Long id;

    /** 商户名 */
    @Excel(name = "商户名")
    private String name;

    /** 营业执照号码 */
    private String number;

    /** 经营区域 */
    @Excel(name = "经营区域")
    private String area;

    /** 详细地址 */
    private String address;

    /** 商家介绍 */
    private String intro;

    /** 审核状态（0未审核，1已通过，2已拒绝；字典） */
    @Excel(name = "审核状态", readConverterExp = "0=未审核，1已通过，2已拒绝；字典")
    private Long audit;

    /** 营业执照 */
    private String licence;

    /** 身份证正面 */
    private String cardFront;

    /** 身份证反面 */
    private String cardBack;

    /** 余额（钱包） */
    private Double money;

    /** 负责人姓名 */
    @Excel(name = "负责人姓名")
    private String principalName;

    /** 负责人手机号 */
    private Long principalPhone;

    /** 密码( 手机号+密码     登录) */
    private String password;

    /** 负责人身份证号 */
    private Long idcard;

    /** 逻辑删除 */
    private Long deleted;

    /** 每周营业（周一至周五） */
    private String week;

    /** 开始营业时间 */

    private String startTime;

    /** 结束营业时间 */

    private String endTime;

    /** 经度 */
    private Long longitude;

    /** 维度 */
    private Long latitude;

    /** 门店总星级评分 */
    private Long starmark;

    /** 门店的总销售数量 */
    private Long sold;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setNumber(String number) 
    {
        this.number = number;
    }

    public String getNumber() 
    {
        return number;
    }
    public void setArea(String area) 
    {
        this.area = area;
    }

    public String getArea() 
    {
        return area;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setIntro(String intro) 
    {
        this.intro = intro;
    }

    public String getIntro() 
    {
        return intro;
    }
    public void setAudit(Long audit) 
    {
        this.audit = audit;
    }

    public Long getAudit() 
    {
        return audit;
    }
    public void setLicence(String licence) 
    {
        this.licence = licence;
    }

    public String getLicence() 
    {
        return licence;
    }
    public void setCardFront(String cardFront) 
    {
        this.cardFront = cardFront;
    }

    public String getCardFront() 
    {
        return cardFront;
    }
    public void setCardBack(String cardBack) 
    {
        this.cardBack = cardBack;
    }

    public String getCardBack() 
    {
        return cardBack;
    }
    public void setMoney(Double money)
    {
        this.money = money;
    }

    public Double getMoney()
    {
        return money;
    }
    public void setPrincipalName(String principalName) 
    {
        this.principalName = principalName;
    }

    public String getPrincipalName() 
    {
        return principalName;
    }
    public void setPrincipalPhone(Long principalPhone) 
    {
        this.principalPhone = principalPhone;
    }

    public Long getPrincipalPhone() 
    {
        return principalPhone;
    }
    public void setPassword(String password) 
    {
        this.password = password;
    }

    public String getPassword() 
    {
        return password;
    }
    public void setIdcard(Long idcard) 
    {
        this.idcard = idcard;
    }

    public Long getIdcard() 
    {
        return idcard;
    }
    public void setDeleted(Long deleted) 
    {
        this.deleted = deleted;
    }

    public Long getDeleted() 
    {
        return deleted;
    }
    public void setWeek(String week) 
    {
        this.week = week;
    }

    public String getWeek() 
    {
        return week;
    }
    public void setStartTime(String startTime)
    {
        this.startTime = startTime;
    }

    public String getStartTime()
    {
        return startTime;
    }
    public void setEndTime(String endTime)
    {
        this.endTime = endTime;
    }

    public String getEndTime()
    {
        return endTime;
    }
    public void setLongitude(Long longitude) 
    {
        this.longitude = longitude;
    }

    public Long getLongitude() 
    {
        return longitude;
    }
    public void setLatitude(Long latitude) 
    {
        this.latitude = latitude;
    }

    public Long getLatitude() 
    {
        return latitude;
    }
    public void setStarmark(Long starmark) 
    {
        this.starmark = starmark;
    }

    public Long getStarmark() 
    {
        return starmark;
    }
    public void setSold(Long sold) 
    {
        this.sold = sold;
    }

    public Long getSold() 
    {
        return sold;
    }

    private String auditText;

    public String getAuditText() {
        return auditText;
    }

    public void setAuditText(String auditText) {
        this.auditText = auditText;
    }

    private List<CfShopImage> shopImageList;

    public List<CfShopImage> getShopImageList() {
        return shopImageList;
    }

    public void setShopImageList(List<CfShopImage> shopImageList) {
        this.shopImageList = shopImageList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("number", getNumber())
            .append("area", getArea())
            .append("address", getAddress())
            .append("intro", getIntro())
            .append("audit", getAudit())
            .append("createTime", getCreateTime())
            .append("licence", getLicence())
            .append("cardFront", getCardFront())
            .append("cardBack", getCardBack())
            .append("money", getMoney())
            .append("principalName", getPrincipalName())
            .append("principalPhone", getPrincipalPhone())
            .append("password", getPassword())
            .append("idcard", getIdcard())
            .append("deleted", getDeleted())
            .append("week", getWeek())
            .append("startTime", getStartTime())
            .append("endTime", getEndTime())
            .append("longitude", getLongitude())
            .append("latitude", getLatitude())
            .append("starmark", getStarmark())
            .append("sold", getSold())
            .append("auditText",getAuditText())
            .append("shopImageList",getShopImageList())
            .toString();
    }
}
